package com.jarvis.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

//1 引入OpenFeign
//2 编写一个接口告诉SpringCloud;



//@EnableRedisHttpSession
@EnableFeignClients(basePackages = "com.jarvis.order.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class JarvisOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(JarvisOrderApplication.class, args);


    }

}
